using Newtonsoft.Json;

namespace Betfair.Api
{
    public sealed class MarketType
    {
        public MarketType(string name, int marketCount)
        {
            Name = name;
            MarketCount = marketCount;
        }

        [JsonProperty("marketType")]
        public string Name { get; private set; }

        public int MarketCount { get; private set; }
    }
}